function getData(value:string):string{
    return value
}
interface BD<T>{
    add(value:T):boolean
    delete(id:number):boolean
    update(value:T,id:number):boolean
    get(id:number):any[]
}

export default class Mysql<T> implements BD<T>{
    add(value: T): boolean {
       console.log(value)
       return false
    }    
    delete(id: number): boolean {
        throw new Error("Method not implemented.");
    }
    update(value: T, id: number): boolean {
        throw new Error("Method not implemented.");
    }
    get(id: number): any[] {
        var list:any[] = ['1']
        return list
    }
}

export {getData}